/*******************************************************************************
 * Copyright (c) 2010, 2015 EclipseSource and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    EclipseSource - initial API and implementation
 ******************************************************************************/

/* Combo default theme */

Combo,
Combo[BORDER] {
  font: 14px Verdana, "Lucida Sans", Arial, Helvetica, sans-serif;
  color: #4a4a4a;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #aaaaaa;
  border-radius: 0 2px 2px 0;
  text-shadow: none;
  box-shadow: inset 0 0 3px #bdbdbd;
}

Combo:focused,
Combo[BORDER]:focused {
  border: 1px solid #4f7cb1;
  box-shadow: 0 0 5px #4f7cb1;
}

Combo:disabled,
Combo[BORDER]:disabled {
  box-shadow: none;
}

Combo-Button {
  cursor: default;
  background-color: #efefef;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-left: 1px solid #bdbdbd;
  border-radius: 0px 2px 2px 0px;
  background-image: gradient(
    linear, left top, left bottom,
    from( #f9f9f9 ),
    to( #e4e4e4 )
  );
  width: 30px;
}

Combo-Button[RIGHT_TO_LEFT] {
  cursor: default;
  background-color: #efefef;
  border-top: none;
  border-left: none;
  border-bottom: none;
  border-right: 1px solid #bdbdbd;
  border-radius: 0px 2px 2px 0px;
  background-image: gradient(
    linear, left top, left bottom,
    from( #f9f9f9 ),
    to( #e4e4e4 )
  );
  width: 30px;
}

Combo-Button:disabled {
  background-image: none;
  background-color: transparent;
}

Combo-Button-Icon, Combo-Button-Icon:disabled {
  background-image: url( resource/widget/rap/combo/down.png );
}

Combo-Button-Icon:hover {
  background-image: url( resource/widget/rap/combo/down-hover.png );
}

Combo-List {
  border: 1px solid #4f7cb1;
  box-shadow: 0 0 5px #4f7cb1;
  border-radius: 2px;
}

Combo-List-Item {
  color: inherit;
  background-color: transparent;
  background-image: none;
  text-decoration: none;
  text-shadow: none;
  padding: 6px 10px 6px 10px;
}

Combo-List-Item:hover, Combo-List-Item:even:hover {
  color: inherit;
  background-color: #f0f0f0;
  background-image: none;
  text-decoration: none;
  text-shadow: none;
  padding: 6px 10px 6px 10px;
}

Combo-List-Item:even {
  background-color: transparent;
}

Combo-List-Item:even:hover {
  background-color: #f0f0f0;
}

Combo-List-Item:selected,
Combo-List-Item:selected:hover,
Combo-List-Item:selected:even {
  color: inherit;
  background-color: #c5dbef;
  background-image: none;
  text-decoration: none;
  text-shadow: none;
  padding: 6px 10px 6px 10px;
}

Combo-Field {
  padding: 5px 10px 5px 10px;
}

Combo-FocusIndicator {
  background-color: transparent;
  border: none;
  margin: 0;
  opacity: 0;
}
